import 'package:freezed_annotation/freezed_annotation.dart';

part 'sign_in_integral_record_model.freezed.dart';
part 'sign_in_integral_record_model.g.dart';

@freezed
class SignInIntegralRecordModel with _$SignInIntegralRecordModel {
  factory SignInIntegralRecordModel({
    int? changeIntegral,
    DateTime? createdAt,
    String? desc,
    String? id,
    int? newIntegral,
    int? type,
    DateTime? updatedAt,
    int? userId,
  }) = _SignInIntegralRecordModel;

  factory SignInIntegralRecordModel.fromJson(Map<String, dynamic> json) =>
      _$SignInIntegralRecordModelFromJson(json);
}
